﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.WorkBill
{
    /// <summary>
    /// 工作单类型
    /// </summary>
    public class WorkBillType : Entity
    {
        /// <summary>
        /// 类型代码
        /// </summary>
        public virtual string TypeCode { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        public virtual string TypeName { get; set; }

        /// <summary>
        /// 类型权重
        /// </summary>
        public virtual decimal TypeRate { get; set; }

        /// <summary>
        /// 当前类型包含的工作单
        /// </summary>
        public virtual IList<WorkBill> WorkBills { get; set; }

        public WorkBillType()
        {
            WorkBills = new List<WorkBill>();
        }

    }
}
